package com.tao.YanMoDesignPattern.Order.pattern;

/**
 * @Author Mi_Tao
 * @Date 2023/8/26
 * @Description
 * @Version 1.0
 **/
public class Invoker {

    // 持有命令对象
    private Command command = null;

    /**
     * 设置调用者持有的命令对象
     * @param command
     */
    public void setCommand(Command command) {
        this.command = command;
    }


}
